package jsyf.oa.entity.thurTrack;

import com.alibaba.fastjson.JSONObject;

import javax.persistence.Entity;
import javax.persistence.Table;

import jsyf.oa.ientity.BaseEntity;


/**
 * Created by Maqiuqiu on 2018/8/16.
 */
@Entity
@Table(name = "t_rpt_thursday_genzong", schema = "oa", catalog = "")
public class ThurTrackEntity extends BaseEntity {

    private String day;
    private String currentAuditId;
    private String currentAuditName;
    private String auditFlag;
    private String companyId;
    private String companyName;
    private String customerAddress;
    private String buildCityName;
    private String confirmationDate;
    private String closeorderProbability;
    private String customerId;
    private String customerTel;
    private String customerName;
    private String yhdeOlder;
    private String havingModel;
    private String buildCondition;
    private String needModelId;
    private String needModel;
    private Integer needNumber;
    private String replacementModel;
    private String competitorBrand;
    private String buyType;
    private String confirmationStatus;
    private String dealerquote;
    private String dealerpolicy;
    private String actualDate;
    private String yujiDeliveryDate;
    private String shijiLoseDate;
    private String regionalManagerName;
    private String bigRegionalManagerName;
    private String regionalManagerId;
    private String regionalId;
    private String bigRegionalId;
    private String lostorderBrand;
    private String lostorderModel;
    private String lostorderFlag;
    private String lostorderReason;
    private String lostorderReasonDetails;
    private String salePrice;
    private String interestRate;
    private String downPayment;
    private String replacementSubsidy;
    private String accessbonus;
    private String otherInformation;
    private String informationIntegrity;
    private String transactionProbability;
    private String deliveryDate;
    private String provinceName;
    private String cityName;
    private String countyName;
    private String brandName;
    private String bigRegionalName;


    public String getDay() {
        return day;
    }

    public void setDay(String day) {
        this.day = day;
    }

    public String getCurrentAuditId() {
        return currentAuditId;
    }

    public void setCurrentAuditId(String currentAuditId) {
        this.currentAuditId = currentAuditId;
    }

    public String getCurrentAuditName() {
        return currentAuditName;
    }

    public void setCurrentAuditName(String currentAuditName) {
        this.currentAuditName = currentAuditName;
    }

    public String getAuditFlag() {
        return auditFlag;
    }

    public void setAuditFlag(String auditFlag) {
        this.auditFlag = auditFlag;
    }

    public String getCompanyId() {
        return companyId;
    }

    public void setCompanyId(String companyId) {
        this.companyId = companyId;
    }

    public String getCustomerTel() {
        return customerTel;
    }

    public void setCustomerTel(String customerTel) {
        this.customerTel = customerTel;
    }

    public String getCompanyName() {
        return companyName;
    }

    public void setCompanyName(String companyName) {
        this.companyName = companyName;
    }

    public String getCustomerAddress() {
        return customerAddress;
    }

    public void setCustomerAddress(String customerAddress) {
        this.customerAddress = customerAddress;
    }

    public String getBuildCityName() {
        return buildCityName;
    }

    public void setBuildCityName(String buildCityName) {
        this.buildCityName = buildCityName;
    }

    public String getConfirmationDate() {
        return confirmationDate;
    }

    public void setConfirmationDate(String confirmationDate) {
        this.confirmationDate = confirmationDate;
    }

    public String getCloseorderProbability() {
        return closeorderProbability;
    }

    public void setCloseorderProbability(String closeorderProbability) {
        this.closeorderProbability = closeorderProbability;
    }

    public String getCustomerId() {
        return customerId;
    }

    public void setCustomerId(String customerId) {
        this.customerId = customerId;
    }

    public String getCustomerName() {
        return customerName;
    }

    public void setCustomerName(String customerName) {
        this.customerName = customerName;
    }

    public String getYhdeOlder() {
        return yhdeOlder;
    }

    public void setYhdeOlder(String yhdeOlder) {
        this.yhdeOlder = yhdeOlder;
    }

    public String getHavingModel() {
        return havingModel;
    }

    public void setHavingModel(String havingModel) {
        this.havingModel = havingModel;
    }

    public String getBuildCondition() {
        return buildCondition;
    }

    public void setBuildCondition(String buildCondition) {
        this.buildCondition = buildCondition;
    }

    public String getNeedModelId() {
        return needModelId;
    }

    public void setNeedModelId(String needModelId) {
        this.needModelId = needModelId;
    }

    public String getNeedModel() {
        return needModel;
    }

    public void setNeedModel(String needModel) {
        this.needModel = needModel;
    }

    public Integer getNeedNumber() {
        return needNumber;
    }

    public void setNeedNumber(Integer needNumber) {
        this.needNumber = needNumber;
    }

    public String getReplacementModel() {
        return replacementModel;
    }

    public void setReplacementModel(String replacementModel) {
        this.replacementModel = replacementModel;
    }

    public String getCompetitorBrand() {
        return competitorBrand;
    }

    public void setCompetitorBrand(String competitorBrand) {
        this.competitorBrand = competitorBrand;
    }

    public String getBuyType() {
        return buyType;
    }

    public void setBuyType(String buyType) {
        this.buyType = buyType;
    }

    public String getConfirmationStatus() {
        return confirmationStatus;
    }

    public void setConfirmationStatus(String confirmationStatus) {
        this.confirmationStatus = confirmationStatus;
    }

    public String getDealerquote() {
        return dealerquote;
    }

    public void setDealerquote(String dealerquote) {
        this.dealerquote = dealerquote;
    }

    public String getDealerpolicy() {
        return dealerpolicy;
    }

    public void setDealerpolicy(String dealerpolicy) {
        this.dealerpolicy = dealerpolicy;
    }

    public String getActualDate() {
        return actualDate;
    }

    public void setActualDate(String actualDate) {
        this.actualDate = actualDate;
    }

    public String getRegionalManagerName() {
        return regionalManagerName;
    }

    public void setRegionalManagerName(String regionalManagerName) {
        this.regionalManagerName = regionalManagerName;
    }

    public String getRegionalManagerId() {
        return regionalManagerId;
    }

    public void setRegionalManagerId(String regionalManagerId) {
        this.regionalManagerId = regionalManagerId;
    }

    public String getRegionalId() {
        return regionalId;
    }

    public void setRegionalId(String regionalId) {
        this.regionalId = regionalId;
    }

    public String getBigRegionalId() {
        return bigRegionalId;
    }

    public void setBigRegionalId(String bigRegionalId) {
        this.bigRegionalId = bigRegionalId;
    }

    public String getLostorderBrand() {
        return lostorderBrand;
    }

    public void setLostorderBrand(String lostorderBrand) {
        this.lostorderBrand = lostorderBrand;
    }

    public String getLostorderModel() {
        return lostorderModel;
    }

    public void setLostorderModel(String lostorderModel) {
        this.lostorderModel = lostorderModel;
    }

    public String getLostorderFlag() {
        return lostorderFlag;
    }

    public void setLostorderFlag(String lostorderFlag) {
        this.lostorderFlag = lostorderFlag;
    }

    public String getLostorderReason() {
        return lostorderReason;
    }

    public void setLostorderReason(String lostorderReason) {
        this.lostorderReason = lostorderReason;
    }

    public String getLostorderReasonDetails() {
        return lostorderReasonDetails;
    }

    public void setLostorderReasonDetails(String lostorderReasonDetails) {
        this.lostorderReasonDetails = lostorderReasonDetails;
    }

    public String getSalePrice() {
        return salePrice;
    }

    public void setSalePrice(String salePrice) {
        this.salePrice = salePrice;
    }

    public String getInterestRate() {
        return interestRate;
    }

    public void setInterestRate(String interestRate) {
        this.interestRate = interestRate;
    }

    public String getDownPayment() {
        return downPayment;
    }

    public void setDownPayment(String downPayment) {
        this.downPayment = downPayment;
    }

    public String getReplacementSubsidy() {
        return replacementSubsidy;
    }

    public void setReplacementSubsidy(String replacementSubsidy) {
        this.replacementSubsidy = replacementSubsidy;
    }

    public String getAccessbonus() {
        return accessbonus;
    }

    public void setAccessbonus(String accessbonus) {
        this.accessbonus = accessbonus;
    }

    public String getOtherInformation() {
        return otherInformation;
    }

    public void setOtherInformation(String otherInformation) {
        this.otherInformation = otherInformation;
    }

    public String getInformationIntegrity() {
        return informationIntegrity;
    }

    public void setInformationIntegrity(String informationIntegrity) {
        this.informationIntegrity = informationIntegrity;
    }

    public String getTransactionProbability() {
        return transactionProbability;
    }

    public void setTransactionProbability(String transactionProbability) {
        this.transactionProbability = transactionProbability;
    }

    public String getDeliveryDate() {
        return deliveryDate;
    }

    public void setDeliveryDate(String deliveryDate) {
        this.deliveryDate = deliveryDate;
    }

    public String getProvinceName() {
        return provinceName;
    }

    public void setProvinceName(String provinceName) {
        this.provinceName = provinceName;
    }

    public String getCityName() {
        return cityName;
    }

    public void setCityName(String cityName) {
        this.cityName = cityName;
    }

    public String getCountyName() {
        return countyName;
    }

    public void setCountyName(String countyName) {
        this.countyName = countyName;
    }

    public String getYujiDeliveryDate() {
        return yujiDeliveryDate;
    }

    public void setYujiDeliveryDate(String yujiDeliveryDate) {
        this.yujiDeliveryDate = yujiDeliveryDate;
    }

    public String getShijiLoseDate() {
        return shijiLoseDate;
    }

    public void setShijiLoseDate(String shijiLoseDate) {
        this.shijiLoseDate = shijiLoseDate;
    }

    public String getBigRegionalManagerName() {
        return bigRegionalManagerName;
    }

    public void setBigRegionalManagerName(String bigRegionalManagerName) {
        this.bigRegionalManagerName = bigRegionalManagerName;
    }

    public String getBrandName() {
        return brandName;
    }

    public void setBrandName(String brandName) {
        this.brandName = brandName;
    }

    public String getBigRegionalName() {
        return bigRegionalName;
    }

    public void setBigRegionalName(String bigRegionalName) {
        this.bigRegionalName = bigRegionalName;
    }

    @Override
    public JSONObject getJSONObject() {
        JSONObject obj = new JSONObject();
        obj.put("ID", getId());
        obj.put("DAY", getDay());
        obj.put("CURRENT_AUDITOR_ID", getCurrentAuditId());
        obj.put("CURRENT_AUDITOR_NAME", getCurrentAuditName());
        obj.put("AUDIT_FLAG", getAuditFlag());
        obj.put("COMPANY_ID", getCompanyId());
        obj.put("COMPANY_NAME", getCompanyName());
        obj.put("CUSTOMER_ADDRESS", getCustomerAddress());
        obj.put("BUILD_CITY_NAME", getBuildCityName());
        obj.put("CONFIRMATION_DATE", getConfirmationDate());
        obj.put("CLOSEORDER_PROBABILITY", getCloseorderProbability());
        obj.put("CUSTOMER_ID", getCustomerId());
        obj.put("CUSTOMER_TEL", getCustomerTel());
        obj.put("CUSTOMER_NAME", getCustomerName());
        obj.put("YHDE_OLDER", getYhdeOlder());
        obj.put("HAVING_MODEL", getHavingModel());
        obj.put("BUILD_CONDITION", getBuildCondition());
        obj.put("NEED_MODEL_ID", getNeedModelId());
        obj.put("NEED_MODEL", getNeedModel());
        obj.put("NEED_NUMBER", getNeedNumber());
        obj.put("REPLACEMENT_MODEL", getReplacementModel());
        obj.put("COMPETITOR_BRAND", getCompetitorBrand());
        obj.put("BUY_TYPE", getBuyType());
        obj.put("CONFIRMATION_STATUS", getConfirmationStatus());
        obj.put("DEALERQUOTE", getDealerquote());
        obj.put("DEALERPOLICY", getDealerpolicy());
        obj.put("ACTUAL_DATE", getActualDate());
        obj.put("YUJI_DELIVERY_DATE", getYujiDeliveryDate());
        obj.put("SHIJI_LOSE_DATE", getShijiLoseDate());
        obj.put("REGIONAL_MANAGER_NAME", getRegionalManagerName());
        obj.put("BIG_REGIONAL_MANAGER__NAME", getBigRegionalManagerName());
        obj.put("REGIONAL_MANAGER_ID", getRegionalManagerId());
        obj.put("REGIONAL_ID", getRegionalId());
        obj.put("BIG_REGIONAL_ID", getBigRegionalId());
        obj.put("LOSTORDER_BRAND", getLostorderBrand());
        obj.put("LOSTORDER_MODEL", getLostorderModel());
        obj.put("LOSTORDER_FLAG", getLostorderFlag());
        obj.put("LOSTORDER_REASON", getLostorderReason());
        obj.put("LOSTORDER_REASON_DETAILS", getLostorderReasonDetails());
        obj.put("SALE_PRICE", getSalePrice());
        obj.put("INTEREST_RATE", getInterestRate());
        obj.put("DOWN_PAYMENT", getDownPayment());
        obj.put("REPLACEMENT_SUBSIDY", getReplacementSubsidy());
        obj.put("ACCESSBONUS", getAccessbonus());
        obj.put("OTHER_INFORMATION", getOtherInformation());
        obj.put("INFORMATION_INTEGRITY", getInformationIntegrity());
        obj.put("TRANSACTION_PROBABILITY", getTransactionProbability());
        obj.put("DELIVERY_DATE", getDeliveryDate());
        obj.put("CREATE_TIME", getCreateTime());
        obj.put("UPDATE_TIME", getUpdateTime());
        obj.put("PROVINCE_NAME", getProvinceName());
        obj.put("CITY_NAME", getCityName());
        obj.put("COUNTY_NAME",getCountyName());
        obj.put("UPDATE_USER_ID",getUpdateUserId());
        obj.put("BIG_REGIONAL_NAME",getBigRegionalName());
        obj.put("BRAND_NAME",getBrandName());
        return obj;
    }

    @Override
    public String getTableName() {
        return "t_rpt_thursday_genzong";
    }

    @Override
    public JSONObject getJSONColumns() {
        JSONObject obj = new JSONObject();
        obj.put("ID", "id");
        obj.put("DAY", "day");
        obj.put("CURRENT_AUDITOR_ID", "currentAuditId");
        obj.put("CURRENT_AUDITOR_NAME", "currentAuditName");
        obj.put("AUDIT_FLAG", "auditFlag");
        obj.put("COMPANY_ID", "companyId");
        obj.put("COMPANY_NAME", "companyName");
        obj.put("CUSTOMER_ADDRESS", "customerAddress");
        obj.put("BUILD_CITY_NAME", "buildCityName");
        obj.put("CONFIRMATION_DATE", "confirmationDate");
        obj.put("CLOSEORDER_PROBABILITY", "closeorderProbability");
        obj.put("CUSTOMER_ID", "customerId");
        obj.put("CUSTOMER_TEL", "customerTel");
        obj.put("CUSTOMER_NAME", "customerName");
        obj.put("YHDE_OLDER", "yhdeOlder");
        obj.put("HAVING_MODEL", "havingModel");
        obj.put("BUILD_CONDITION", "buildCondition");
        obj.put("NEED_MODEL_ID", "needModelId");
        obj.put("NEED_MODEL", "needModel");
        obj.put("NEED_NUMBER", "needNumber");
        obj.put("REPLACEMENT_MODEL", "replacementModel");
        obj.put("COMPETITOR_BRAND", "competitorBrand");
        obj.put("BUY_TYPE", "buyType");
        obj.put("CONFIRMATION_STATUS", "confirmationStatus");
        obj.put("DEALERQUOTE", "dealerquote");
        obj.put("DEALERPOLICY", "dealerpolicy");
        obj.put("ACTUAL_DATE", "actualDate");
        obj.put("YUJI_DELIVERY_DATE", "yujiDeliveryDate");
        obj.put("SHIJI_LOSE_DATE", "shijiLoseDate");
        obj.put("REGIONAL_MANAGER_NAME", "regionalManagerName");
        obj.put("BIG_REGIONAL_MANAGER__NAME", "bigRegionalManagerName");
        obj.put("REGIONAL_MANAGER_ID", "regionalManagerId");
        obj.put("REGIONAL_ID", "regionalId");
        obj.put("BIG_REGIONAL_ID", "bigRegionalId");
        obj.put("LOSTORDER_BRAND", "lostorderBrand");
        obj.put("LOSTORDER_MODEL", "lostorderModel");
        obj.put("LOSTORDER_FLAG", "lostorderFlag");
        obj.put("LOSTORDER_REASON", "lostorderReason");
        obj.put("LOSTORDER_REASON_DETAILS", "lostorderReasonDetails");
        obj.put("SALE_PRICE", "salePrice");
        obj.put("INTEREST_RATE", "interestRate");
        obj.put("DOWN_PAYMENT", "downPayment");
        obj.put("REPLACEMENT_SUBSIDY", "replacementSubsidy");
        obj.put("ACCESSBONUS", "accessbonus");
        obj.put("OTHER_INFORMATION", "otherInformation");
        obj.put("INFORMATION_INTEGRITY", "informationIntegrity");
        obj.put("TRANSACTION_PROBABILITY", "transactionProbability");
        obj.put("DELIVERY_DATE", "deliveryDate");
        obj.put("CREATE_TIME", "createTime");
        obj.put("UPDATE_TIME", "updateTime");
        obj.put("PROVINCE_NAME", "provinceName");
        obj.put("CITY_NAME", "cityName");
        obj.put("COUNTY_NAME", "countyName");
        obj.put("UPDATE_USER_ID","updateUserId");
        obj.put("BIG_REGIONAL_NAME","bigRegionalName");
        obj.put("BRAND_NAME","brandName");
        return obj;
    }

}
